/*
 * @Description:
 * @Autor: Zhongyu
 * @Date: 2021-03-12 10:10:42
 * @LastEditors: Zhongyu
 * @LastEditTime: 2021-03-18 10:02:25
 */
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
	state: {
		breadcrumbDatas: [],
	},
	mutations: {
		breadcrumbDataMutations(state, datas) {
            state.breadcrumbDatas = datas;
        },
	},
	actions: {
		breadcrumbDataActions(context, datas) {
            // console.log(context, datas)
            context.commit('breadcrumbDataMutations', datas)
        },
	},
	modules: {},
});
